package com.qushiyun.devops.admin.sync.data.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 同步表日志
 *
 * @author zhouzx
 */
@Data
@TableName("sync_table_log")
public class TableLog {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long triggerId;

    private String tableName;
    private Integer status;
    private String conditionStr;

    private Integer isCreated;
    private Integer isAll;
    private Integer isIgnore;
    private Integer overWrite;
    private Integer isTenantGlobal;

    private Long dataNum;

    private Date beginTime;
    private Date endTime;

    private Long costTime;
}
